load("@rules_go//go:def.bzl", "go_library")

go_library(
    name = "identityutil",
    srcs = ["identityutil.go"],
    importpath = "github.com/pachyderm/pachyderm/v2/src/server/identityutil",
    visibility = ["//visibility:public"],
    deps = [
        "//src/identity",
        "//src/internal/errors",
        "@org_golang_google_protobuf//encoding/protojson",
        "@org_golang_google_protobuf//types/known/structpb",
    ],
)
